/*
 * @(#)RandomUtil.java Nov 16, 2007
 * 
 * Copyright 2007 by ChinanetCenter Corporation.
 *
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * ChinanetCenter Corporation ("Confidential Information").  You
 * shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement
 * you entered into with ChinanetCenter.
 * 
 */
package com.cnc.fd.util;

import java.util.Random;


/**
 * @author 阿闲
 * @date   Nov 16, 2007
 * @version 1.0
 */
public class RandomUtil {

	private static Random random = new Random();
	
	/**
	 * 获取整型随机数
	 * @param maxValue 最大值
	 * @return
	 */
	public static int getRandomInt(int maxValue){
		return random.nextInt(maxValue);
	}
}


